﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BatchOrder.aspx.cs" Inherits="WMS6.Web.Outbound.BatchOrder" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>BatchOrder</title>
     <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
     <link href="../Css/style.css" type="text/css" rel="stylesheet" />
     <script src="../Js/jquery.js" type="text/javascript"></script>
     <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script> 
      <script src="../Js/jquery.blockUI.js" type="text/javascript"></script>
     <script src="../Js/util.js" type="text/javascript"></script>
     <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>
     <script src="../Js/InitPage.js" type="text/javascript"></script>
     <script src="../Js/checkbox.js" type="text/javascript"></script>
     <script src="../Js/Verification.js" type="text/javascript"></script>
     <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        function newBatchOrder()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "BatchOrder.aspx?from=" + escape(from);
            return false;
        } 
        function AddWaveDetail()
        {
        
        }
          function showAction()
		{	
			var pos = getElementPos("btnAction");	
			document.getElementById("actionDiv").style.top = pos.y+17;
			document.getElementById("actionDiv").style.left = pos.x;  			
			document.getElementById("hiddenFlag").value = '1';
		}		
       function hiddenDiv()
		{
			var flag = document.getElementById("hiddenFlag").value
			if(flag == "1")
			{
				document.getElementById("actionDiv").style.display = "block";
				document.getElementById("hiddenFlag").value = '0';
			}
			else 
			{
				document.getElementById("actionDiv").style.display = "none";
			}

        }
        //显示 报表 DIV
        function showReport() {
            var pos = getElementPos("htmlbtnReport");
            document.getElementById("reportDiv").style.top = pos.y + 17;
            document.getElementById("reportDiv").style.left = pos.x;
            document.getElementById("hiddenReportFlag").value = '1';
        }


        //隐藏 报表 DIV    
        function hiddenReportDiv() {
            var flag = document.getElementById("hiddenReportFlag").value
            if (flag == "1") {
                document.getElementById("reportDiv").style.display = "block";
                document.getElementById("hiddenReportFlag").value = '0';
            }
            else {
                document.getElementById("reportDiv").style.display = "none";
            }
        }

        function popPrintPickList()
        {
            var OrderID = document.getElementById("hdnOrdersID").value;
            window.open('../Common/PrintReport.aspx?rtype=BATCHPRINTPICKLISTREPORT&orderID=' + escape(OrderID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrintMergePickList() {

            var OrderID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=MERGEPRINTPICKLISTREPORT&orderID=' + escape(OrderID) + "&descr=" + Descr + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrinPickDivide() {

            var OrderID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=PICKDIVIDEREPORT&orderID=' + escape(OrderID) + "&descr=" + escape(Descr) + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrinBatchShippingOrder() {

            var OrderID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=BATCHSHIPPINGORDERREPORT&orderID=' + escape(OrderID) + "&descr=" + Descr + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrinBatchOutboundList() {

            var OrderID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=BATCHOUTBOUNDLISTREPORT&orderID=' + escape(OrderID) + "&descr=" + Descr + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrintBatchPickAdvice() {
            var waveID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=BatchPickAdviceReport&waveID=' + escape(waveID) + "&descr=" + Descr + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        
        function popOrder(orderid)
        {          
           FastPopModalWindow('../OutBound/Allocation.aspx?type=QUERY&ID=' + escape(orderid), 'dialogWidth=950px;dialogHeight=600px;center=yes;resizable=yes;status=no;');
        }
        function confirmMsg(code) {
            if (code == "F7300_001") 
            {
                if (confirm('<%=GetGlobalMsgResource("F7300_001") %>')) {
                    return true;
                }
                else {
                    return false;
                }
            }        if (code == "F7300_002") 
            {
                if (confirm('<%=GetGlobalMsgResource("F7300_002") %>')) {
                    return true;
                }
                else {
                    return false;
                }
            }
        
            
        }
        
        function blockScreen()
		{
		    //锁屏
		    $.blockUI.defaults.message = GetBlockUIMsg();
            $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
            $.blockUI();
		}
      </script>
       
</head>
<body>
    <form id="F7031" runat="server">
    <div>
     <asp:ScriptManager ID="ScriptManager1" runat="server" />
   <asp:UpdatePanel ID="up1" runat="server">
        <ContentTemplate>
         <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblBatchOrder" runat="server" 
                            CssClass="label_header" Text="批量订单" meta:resourcekey="lblBatchOrder"></asp:Label></td>
                     <td><asp:Button ID="btnNew" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>"  
                             Enabled="False" OnClientClick="newBatchOrder();" 
                             meta:resourcekey="btnNew" /></td>                  
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>"  
                            AccessKey="s" Enabled="False" OnClick="btnSave_Click" 
                            meta:resourcekey="btnSave"  /></td>
                     <td><asp:Button ID="btnDelete" runat="server" CssClass="button" Enabled="False" 
                             Text="<%$Resources:ButtonResource,btnDelete%>" AccessKey="d" OnClientClick="if(confirmMsg('F7300_001'))return true; else return false;"
                          OnClick="btnDelete_Click" meta:resourcekey="btnDelete"      /></td>
                    <td><asp:Button ID="btnRefresh" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnRefresh%>"  
                            AccessKey="d"  OnClick="btnRefresh_Click"  Enabled="False" 
                             /></td>            
                    <td><input id="btnAction" type="button" runat="server" value="<%$Resources:ButtonResource,btnAction%>" class="button" onclick="showAction();" /></td>           
                    <td> <input id="htmlbtnReport" type="button" runat="server" value="<%$Resources:ButtonResource,btnReport%>" class="button"  onclick="showReport();" /> </td>       
                </tr>
            </table>
        </div>
      
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="divL1"></div>
            </div>
            <div style="float:left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)" id="divM1">
                <asp:Label ID="one1" CssClass="hover" runat="server" 
                    meta:resourcekey="one1">常规</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="divR1"></div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL2"></div>
            </div>
            <div style="float:left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,2)" id="divM2">
                <asp:Label ID="one2" CssClass="navigationlabel" runat="server" 
                    meta:resourcekey="one2">发货订单明细</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR2"></div>
            </div>
        </div>
        
        <div id="div_content">
           <div id="con_one_1" style="display: block;">
                 <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblWaveID" runat="server" CssClass="label" Text="批量订单编号" 
                                 meta:resourcekey="lblWaveID"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblStatus" runat="server" CssClass="label" Text="状态" 
                                 meta:resourcekey="lblStatus"></asp:Label>
                         </td>    
                          <td width="180">
                         </td>                       
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtWaveID" runat="server"  CssClass="textbox" 
                                 meta:resourcekey="txtWaveID" ></asp:TextBox>
                         </td>
                         <td>
                           <asp:DropDownList ID="ddlStatus" Enabled="false"  runat="server" CssClass="mediumselectbox" >
                        </asp:DropDownList>
                         </td>
                          <td width="180">
                         </td>    
                     </tr>
                     <tr>
                         <td  colspan=3>
                             <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="描述" 
                                 meta:resourcekey="lblDescr"></asp:Label>
                         </td>
                         <td>                         
                         </td>
                         <td></td>
                     </tr>
                     <tr>
                         <td colspan=3>
                             <asp:TextBox ID="txtDescr" runat="server" CssClass="largetextbox" 
                                 meta:resourcekey="txtDescr"  ></asp:TextBox>
                         </td>
                          <td width="180">
                         </td>    
                         <td></td>
                     </tr>                   
                     <tr style="height: 10px;">
                         <td >
                         </td>
                         <td>
                         </td>   
                          <td width="180">
                         </td>                        
                     </tr>
                 </table>
             </div>             
             <div id="con_one_2" style="display:none; overflow-x:auto; overflow-y:hidden;">
                 <table width="1000px" style="display: block; margin-left: 10px; margin-top: 10px;">
                     <tr>
                         <td>
                             <div style="margin-top: 10px;">
                                 <asp:Button ID="btnSearchAndAddDetail" runat="server" CssClass="button" Enabled="False"
                                     Text="<%$Resources:ButtonResource,btnSearchAndAddDetail%>" OnClick="btnSearchAndAddDetail_Click"
                                     AccessKey="n" OnClientClick="javascript:if(document.getElementById('hdnWaveID').value == ''){confirmMsg('F7300_002');}" />
                                 <asp:Button ID="btnAddDetail" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnAddDetail%>"
                                     OnClick="btnAddDetail_Click" Enabled="False" AccessKey="n" OnClientClick="javascript:if(document.getElementById('hdnWaveID').value == ''){confirmMsg('F7300_002');}" />
                                 <asp:Button ID="btnDeleteDetail" runat="server" CssClass="button" Enabled="False"
                                     Text="<%$Resources:ButtonResource,btnDeleteDetail%>" AccessKey="s" OnClick="btnDeleteDetail_Click" />
                             </div>
                         </td>
                     </tr>                          
                     <tr style="height: 10px;">
                         <td>
                         </td>
                         <td>
                         </td>
                     </tr>
                     <tr>
                         <td >
                             <div>
                                 <asp:GridView ID="gvBatchOrderDetail" runat="server"  AllowSorting="True"
                                     AutoGenerateColumns="False" AllowPaging="True" oninit="gvBatchOrderDetail_Init" 
                                     CssClass="gridview" OnRowDataBound="gvBatchOrderDetail_RowDataBound" 
                                     DataKeyNames="OrderID,Status,OwnerID" Width="1400px" 
                                     onpageindexchanging="gvBatchOrderDetail_PageIndexChanging" 
                                     onsorting="gvBatchOrderDetail_Sorting" 
                                     meta:resourcekey="gvBatchOrderDetail" >
                                     <FooterStyle CssClass="GridViewFooterStyle" />
                                     <PagerStyle CssClass="GridViewPageStyle" />
                                     <RowStyle CssClass="GridViewRowStyle" />
                                     <HeaderStyle CssClass="GridViewHeaderStyle" />
                                     <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                     <Columns>                                        
                                         <asp:TemplateField meta:resourcekey="TemplateField" >                                       
                                             <HeaderTemplate >
                                             <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7031','gvBatchOrderDetail');" onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                 <asp:CheckBox ID="CheckBox1" runat="server" 
                                                     onclick="selectAll(this,'gvBatchOrderDetail');" 
                                                     meta:resourcekey="CheckBox1" />
                                             </HeaderTemplate>
                                             <ItemTemplate>
                                                 <asp:CheckBox ID="chbSelect" runat="server" 
                                                     meta:resourcekey="chbSelect" />
                                             </ItemTemplate>
                                             <FooterTemplate>
                                                 <asp:CheckBox ID="CheckBox2" runat="server" 
                                                     onclick="selectAll(this,'gvBatchOrderDetail');" 
                                                     meta:resourcekey="CheckBox2" />
                                             </FooterTemplate>
                                               <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                               <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                         </asp:TemplateField>
                                          <asp:BoundField HeaderText="序号" FooterText="序号" 
                                             meta:resourcekey="No">
                                             <ItemStyle CssClass="GridViewRowWidth_40" />
                                         </asp:BoundField>
                                         
                                          <asp:TemplateField FooterText="订单号" HeaderText="订单号" 
                                             SortExpression="OrderID">
                                             <ItemTemplate >
                                                 <asp:Label ID="lblOrderID" runat="server" 
                                                     Text='<%# Eval("OrderID") %>' ></asp:Label>
                                             </ItemTemplate>
                                             <ItemStyle CssClass="GridViewRowWidth_100" HorizontalAlign=Center  />
                                         </asp:TemplateField>
                                           <asp:TemplateField FooterText="状态" HeaderText="状态" 
                                             SortExpression="StatusD">
                                             <ItemTemplate >
                                                 <asp:Label ID="lblStaus" runat="server" 
                                                     Text='<%# Eval("StatusD") %>' ></asp:Label>
                                             </ItemTemplate>
                                             <ItemStyle CssClass="GridViewRowWidth_100" HorizontalAlign=Center  />
                                         </asp:TemplateField>
                                       <%--  <asp:BoundField DataField="StatusD" HeaderText="状态" FooterText="状态" 
                                             SortExpression="StatusD" meta:resourcekey="StatusD">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>--%>
                                         <asp:BoundField DataField="OwnerID" HeaderText="货主代码" FooterText="货主代码" 
                                             SortExpression="OwnerID" meta:resourcekey="OwnerID">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                         <asp:BoundField DataField="Priority" HeaderText="优先级" FooterText="优先级" 
                                             SortExpression="Priority" meta:resourcekey="Priority">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                         <asp:BoundField DataField="TypeD" HeaderText="类型" FooterText="类型" 
                                             SortExpression="TypeD" meta:resourcekey="TypeD">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                         <asp:BoundField DataField="ConsigneeID" HeaderText="客户代码" FooterText="客户代码" 
                                             SortExpression="ConsigneeID" meta:resourcekey="ConsigneeID">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                         <asp:TemplateField FooterText="订单日期" HeaderText="订单日期" 
                                             SortExpression="OrderDate" meta:resourcekey="OrderDate">
                                             <ItemTemplate>
                                                 <asp:Label ID="lblOrderDate" runat="server" 
                                                     Text='<%# GetPreferenceShortDate(Eval("OrderDate").ToString()) %>' 
                                                     meta:resourcekey="lblOrderDate"></asp:Label>
                                             </ItemTemplate>
                                             <ItemStyle CssClass="GridViewRowWidth_150" />
                                         </asp:TemplateField>
                                         <asp:TemplateField FooterText="要求发货日期" HeaderText="要求发货日期" 
                                             SortExpression="RequestedShipDate" meta:resourcekey="RequestedShipDate">
                                             <ItemTemplate>
                                                 <asp:Label ID="lblRequestedShipDate" runat="server" 
                                                     Text='<%# GetPreferenceShortDate(Eval("RequestedShipDate").ToString()) %>' 
                                                     meta:resourcekey="lblRequestedShipDate"></asp:Label>
                                             </ItemTemplate>
                                             <ItemStyle CssClass="GridViewRowWidth_150" />
                                         </asp:TemplateField>
                                         <asp:BoundField DataField="Door" HeaderText="门" FooterText="门" 
                                             SortExpression="Door" meta:resourcekey="Door">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                         <asp:BoundField DataField="Route" HeaderText="线路" FooterText="线路" 
                                             SortExpression="Route" meta:resourcekey="Route">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                         <asp:BoundField DataField="Stop" HeaderText="站点" FooterText="站点" 
                                             SortExpression="Stop" meta:resourcekey="Stop">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                     </Columns>
                                 </asp:GridView>
                             </div>
                         </td>
                         <td>
                         </td>
                     </tr>
                     <tr style="height: 30px;">
                         <td>
                         </td>
                         <td>
                         </td>
                     </tr>
                 </table>
             </div>         
          </div>       
          
            <input type="hidden" id="hdnFrom" runat="server" >
                <input id="hdnFlag" runat="server" type="hidden"></input>
                    <input id="hiddenFlag" runat="server" type="hidden"></input>
                        <input id="hdnRtnValue" runat="server" type="hidden" value="1"></input>
                            <input id="hdnWaveID" runat="server" type="hidden"></input>
                                <input id="hdnOrdersID" runat="server" type="hidden"></input>
                                </input>
                            </input>
                        </input>
                    </input>
                </input>
            </input>
              </ContentTemplate>     
        </asp:UpdatePanel>
    </div>
    
    <div id="actionDiv" style="background-color:#FFFFFF; position:absolute;display:none;">           
        <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu">
           <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnPreAllocation" runat="server"  visible="false" >
                    <asp:LinkButton ID="lnkbtnPreAllocation" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPreAllocation%>" 
                     OnClientClick="blockScreen();"     OnClick="lnkbtnPreAllocation_Click" 
                      ></asp:LinkButton>
                </td>                  
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnRevertPreAllocation" runat="server" visible="false" >
                    <asp:LinkButton ID="lnkbtnRevertPreAllocation" runat="server" Text="<%$Resources:ButtonResource,lnkbtnRevertPreAllocation%>" 
                      OnClientClick="blockScreen();"    OnClick="lnkbtnRevertPreAllocation_Click" 
                      ></asp:LinkButton>
                </td>                  
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnAllocation" runat="server"  visible="false" >
                    <asp:LinkButton ID="lnkbtnAllocation" runat="server" Text="<%$Resources:ButtonResource,lnkbtnAllocation%>"  
                     OnClientClick="blockScreen();"     OnClick="lnkbtnAllocation_Click"  ></asp:LinkButton>
                </td>                  
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnRevertAllocation" runat="server"  visible="false" >
                    <asp:LinkButton ID="lnkbtnRevertAllocation" runat="server" Text="<%$Resources:ButtonResource,lnkbtnRevertAllocation%>"  
                      OnClientClick="blockScreen();"    OnClick="lnkbtnRevertAllocation_Click" 
                      ></asp:LinkButton>
                </td>                  
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnReleasePickTasks" runat="server"  visible="false" >
                    <asp:LinkButton ID="lnkbtnReleasePickTasks" runat="server" Text="<%$Resources:ButtonResource,lnkbtnReleasePickTasks%>"  
                     OnClientClick="blockScreen();"      OnClick="lnkbtnReleasePickTasks_Click" 
                        ></asp:LinkButton>
                </td>                 
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnConfirmPicked" runat="server" visible="false" >
                    <asp:LinkButton ID="lnkbtnConfirmPicked" runat="server" Text="<%$Resources:ButtonResource,lnkbtnConfirmPicked%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnConfirmPicked_Click"></asp:LinkButton>
                </td>
            </tr>
              <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnShipping" runat="server" visible="false" >
                    <asp:LinkButton ID="lnkbtnShipping" runat="server" Text="<%$Resources:ButtonResource,lnkbtnShipping%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnShipping_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnCloseOrder" runat="server" visible="false" >
                    <asp:LinkButton ID="lnkbtnCloseOrder" runat="server" Text="<%$Resources:ButtonResource,lnkbtnClose%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnClosed_Click"></asp:LinkButton>
                </td>
            </tr>            
        </table>
    </div>
       <input type="hidden" id="hiddenReportFlag" /> 
      <div id="reportDiv" style="background-color:#FFFFFF; position:absolute;display:none;">
                 <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu2">
                     <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                         <td class="line"  id="tdlnkbtnPrintPick" runat="server" visible="false"  >
                             <asp:LinkButton ID="lnkbtnPrintPick" runat="server"  Text="<%$Resources:ButtonResource,lnkbtnPrintPick%>" 
                                 OnClick="lnkbtnPrintPickList_Click" 
                                  ></asp:LinkButton>
                         </td>
                     </tr>
                     <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                         <td class="line"  id="tdlnkbtnMergePrintPickList" runat="server"  visible="false" >
                             <asp:LinkButton ID="lnkbtnMergePrintPickList" runat="server"  Text="<%$Resources:ButtonResource,lnkbtnMergePrintPickList%>" 
                                 OnClick="lnkbtnMergePrintPickList_Click" 
                                ></asp:LinkButton>
                         </td>
                     </tr>
                     <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                         <td class="line"  id="tdlnkbtnPrintPickDivide" runat="server"  visible="false" >
                             <asp:LinkButton ID="lnkbtnPrintPickDivide" runat="server"  Text="<%$Resources:ButtonResource,lnkbtnPrintPickDivide%>" 
                                 OnClick="lnkbtnPrintPickDivide_Click" 
                                ></asp:LinkButton>
                         </td>
                     </tr>
                     <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                         <td class="line"  id="tdlnkbtnBatchOutboundList" runat="server"  visible="false" >
                             <asp:LinkButton ID="lnkbtnBatchOutboundList" runat="server"  Text="<%$Resources:ButtonResource,lnkbtnBatchOutboundList%>" 
                                 OnClick="lnkbtnBatchOutboundList_Click" 
                                  ></asp:LinkButton>
                         </td>
                     </tr>
                     <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                         <td class="line"  id="tdlnkbtnBatchShippingOrder" runat="server"  visible="false" >
                             <asp:LinkButton ID="lnkbtnBatchShippingOrder" runat="server"  Text="<%$Resources:ButtonResource,lnkbtnBatchShippingOrder%>" 
                                 OnClick="lnkbtnBatchShippingOrder_Click" 
                                  ></asp:LinkButton>
                         </td>
                     </tr>
                     <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                         <td class="line"  id="tdlnkbtnPrintBatchPickAdvice" runat="server"  visible="false" >
                             <asp:LinkButton ID="lnkbtnPrintBatchPickAdvice" runat="server"  Text="<%$Resources:ButtonResource,lnkbtnPrintBatchPickAdvice%>" 
                                OnClick="lnkbtnPrintBatchPickAdvice_Click"
                                  ></asp:LinkButton>
                         </td>
                     </tr>
                 </table>
           </div>
    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
	<!--
		hiddenDiv();
		hiddenReportDiv();
	//-->
</script>